<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>[|.pageTitle|]</title>
    [|if .zTree|]
    <link rel="stylesheet" href="/static/zTree3/css/demo.css?t=5" type="text/css">
    <link rel="stylesheet" href="/static/zTree3/css/zTreeStyle/zTreeStyle.css" type="text/css">
    [|end|]
    <meta charset="utf-8">
    <link rel="stylesheet" href="/static/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="/static/css/main.css">
    <script src="/static/layui/layui.js?s=36"></script>
    <script src="/static/js/main.js?s=2124"></script>
</head>
<body>
<div class="layui-layout layui-layout-admin" style="padding-left: 40px;margin-top: 5px;line-height:30px;height: 20px">
<form class="layui-form">
    <div class="layui-form-item">
        <label class="layui-form-label" style="display:inline-block;width:200px;">用户信息：</label>
        <div class="layui-input-inline">
            <select name="userinfolist" id = "userinfolist" lay-verify="required"  readonly>
                <option value="0">玩家推广号</option>
                <option value="1">玩家登录名</option>
                <option value="2">玩家昵称</option>
                <option value="3">玩家UserID</option>
            </select>
        </div>
        <div class="layui-input-inline"  style="width:140px;">
            <input type="text" class="layui-input" id="userconditioninfo">
        </div>
    </div>

    <div class="layui-form-item" >
        <label class="layui-form-label"  style="display:inline-block;width:200px;">注册时间：</label>
        <div class="layui-input-inline">
            <input type="text" class="layui-input" id="regfrontdatetime"  readonly>
        </div>
        <div class="layui-form-mid">-</div>
        <div class="layui-input-inline">
            <input type="text" class="layui-input" id="regbehinddatetime"  readonly>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label"  style="display:inline-block;width:200px;">最后登录时间：</label>
        <div class="layui-input-inline">
            <input type="text" class="layui-input" id="loginfrontdatetime"  readonly>
        </div>
        <div class="layui-form-mid">-</div>
        <div class="layui-input-inline">
            <input type="text" class="layui-input" id="loginbehinddatetime"  readonly>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label"  style="display:inline-block;width:200px;">资产(现有金币+保险箱金币)：</label>
         <div class="layui-input-inline">
            <input type="number" class="layui-input" id="userchichanlt" >
        </div>
        <div class="layui-form-mid">-</div>
        <div class="layui-input-inline">
            <input type="number" class="layui-input" id="userchichangt" >
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label"  style="display:inline-block;width:200px;">玩家礼券：</label>
        <div class="layui-input-inline">
            <input type="number" class="layui-input" id="userliquanlt" >
        </div>
        <div class="layui-form-mid">-</div>
        <div class="layui-input-inline">
            <input type="number" class="layui-input" id="userliquangt" >
        </div>
    </div>

     <div class="layui-form-item">
        <label class="layui-form-label"  style="display:inline-block;width:200px;">充值金额：</label>
        <div class="layui-input-inline">
            <input type="number" class="layui-input" id="userczjelt" >
        </div>
        <div class="layui-form-mid">-</div>
        <div class="layui-input-inline">
            <input type="number" class="layui-input" id="userczjegt" >
        </div>
    </div>
     <div class="layui-form-item">
        <label class="layui-form-label"  style="display:inline-block;width:200px;">礼物差(接收-赠送)：</label>
        <div class="layui-input-inline">
            <input type="number" class="layui-input" id="userlwclt" >
        </div>
        <div class="layui-form-mid">-</div>
        <div class="layui-input-inline">
            <input type="number" class="layui-input" id="userlwcgt" >
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label" style="display:inline-block;width:200px;">背包钻石：</label>
        <div class="layui-input-inline">
            <input type="number" class="layui-input" id="userbbzslt" >
        </div>
        <div class="layui-form-mid">-</div>
        <div class="layui-input-inline">
            <input type="number" class="layui-input" id="userbbzsgt" >
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label" style="display:inline-block;width:200px;">总输赢：</label>
         <div class="layui-input-inline">
            <input type="number" class="layui-input" id="userzsylt" >
        </div>
        <div class="layui-form-mid">-</div>
        <div class="layui-input-inline">
            <input type="number" class="layui-input" id="userzsygt" >
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label" style="display:inline-block;width:200px;">当日输赢：</label>
        <div class="layui-input-inline">
            <input type="number" class="layui-input" id="userdrsylt" >
        </div>
        <div class="layui-form-mid">-</div>
        <div class="layui-input-inline">
            <input type="number" class="layui-input" id="userdrsygt" >
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label" style="display:inline-block;width:200px;">密保手机：</label> 
        <div class="layui-input-inline">
            <input type="tel" class="layui-input" id="usermbsj" >
        </div>
        <label class="layui-form-label" style="display:inline-block;width:200px;">登录机器码：</label>
        <div class="layui-input-inline">
            <input type="text" class="layui-input" id="userdljqm" >
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label" style="display:inline-block;width:200px;">最后登录IP：</label>
       <div class="layui-input-inline">
            <input type="ip" class="layui-input" id="userzhdlip" >
        </div>
        <label class="layui-form-label" style="display:inline-block;width:200px;">注册IP：</label>
        <div class="layui-input-inline">
            <input type="ip" class="layui-input" id="userzcip" >
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label" style="display:inline-block;width:200px;">帐号状态：</label>
        <div class="layui-input-inline">
            <select name="userzhzt" id = "userzhzt" lay-verify="required"  readonly>
                <option value="0">--请选择--</option>
                <option value="1">正常</option>
                <option value="2">锁定</option>
            </select>
        </div>
        <label class="layui-form-label" style="display:inline-block;width:200px;">设备类型：</label>
        <div class="layui-input-inline">
            <select name="usersblx" id = "usersblx" lay-verify="required"  readonly>
                <option value="0">--请选择--</option>
                <option value="1">IOS</option>
                <option value="2">安卓</option>
                <option value="3">windows</option>
            </select>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label" style="display:inline-block;width:200px;">用户类型：</label>
        <div class="layui-input-inline">
            <select name="useryhlx" id = "useryhlx" lay-verify="required"  readonly>
                <option value="0">--请选择--</option>
                <option value="1">普通用户</option>
                <option value="2">至尊VIP</option>
                <option value="3">黄金VIP</option>
                <option value="4">钻石VIP</option>
                <option value="5">内部测试</option>
            </select>
        </div>
        <label class="layui-form-label" style="display:inline-block;width:200px;">游戏平台：</label>
        <div class="layui-input-inline">
            <select name="gameplatform" id = "gameplatform" style="width:85px;height:35px" lay-verify=""  readonly>
                <option value="">--请选择--</option>
                <option value="1">平台1</option>
                <option value="2">平台2</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item" >
        <div class="layui-input-block" style="padding-left: 240px;">
            <button class="layui-btn layui-btn-normal" lay-submit="" lay-filter="onputinsure"  style="display:inline-block;width:200px;">搜索</button>
        </div>
    </div>
</form>
</div>

<script>
    var $;

    layui.config({
            base : "js/"
    }).use(['form','element','layer','jquery' ,'laydate'], function(){
        var element = layui.element;
        var form = layui.form;
        var laydate = layui.laydate;
        $ = layui.jquery;
    //监听表格复选框选择
   // table.on('checkbox(demo)', function(obj){
    //   console.log(obj);
   // });

   
 
    //方法级渲染
    laydate.render({
        elem: '#regfrontdatetime'
        ,type: 'datetime'
      });
    laydate.render({
        elem: '#regbehinddatetime'
        ,type: 'datetime'
      });
    laydate.render({
        elem: '#loginfrontdatetime'
        ,type: 'datetime'
      });
    laydate.render({
        elem: '#loginbehinddatetime'
        ,type: 'datetime'
      });
    //监听工具条
   
    form.on('submit(onputinsure)', function(data) {
        setDatas();
        return false;
    });

    return false;
    //return false;
}); 
function setDatas() {
    //由于是一个新的技术，你可以通过下面的代码检测你的浏览器是否支持
    if (window.localStorage) {
        //存储变量的值
            localStorage.userinfolist = document.all.userinfolist.value;
            localStorage.userconditioninfo = document.all.userconditioninfo.value;
            localStorage.regfrontdatetime = document.all.regfrontdatetime.value;
            localStorage.regbehinddatetime = document.all.regbehinddatetime.value;
            localStorage.loginfrontdatetime = document.all.loginfrontdatetime.value;
            localStorage.loginbehinddatetime = document.all.loginbehinddatetime.value;
            localStorage.userchichanlt = document.all.userchichanlt.value;
            localStorage.userchichangt = document.all.userchichangt.value;
            localStorage.userliquanlt = document.all.userliquanlt.value;
            localStorage.userliquangt = document.all.userliquangt.value;
            localStorage.userczjelt = document.all.userczjelt.value;
            localStorage.userczjegt = document.all.userczjegt.value;
            localStorage.userlwclt = document.all.userlwclt.value;
            localStorage.userlwcgt = document.all.userlwcgt.value;
            localStorage.userbbzslt = document.all.userbbzslt.value;
            localStorage.userbbzsgt = document.all.userbbzsgt.value;
            localStorage.userzsylt = document.all.userzsylt.value;
            localStorage.userzsygt = document.all.userzsygt.value;
            localStorage.userdrsylt = document.all.userdrsylt.value;
            localStorage.userdrsygt = document.all.userdrsygt.value;
            localStorage.usermbsj = document.all.usermbsj.value;
            localStorage.userdljqm = document.all.userdljqm.value;
            localStorage.userzhdlip = document.all.userzhdlip.value;
            localStorage.userzcip = document.all.userzcip.value;
            localStorage.userzhzt = document.all.userzhzt.value;
            localStorage.usersblx = document.all.usersblx.value;
            localStorage.useryhlx = document.all.useryhlx.value;
            localStorage.useryxpt = document.all.gameplatform.value;
            location.href = 'userlist.html';
        } else {
                 alert("NOT SUPPORT");
     }
}
</script>
</body>
</html>